package com.ldy.gen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户收藏店铺内容中间表
 * </p>
 *
 * @author ldy
 * @since 2023-09-29 15:02:29
 */
@Getter
@Setter
@TableName("user_collect_content")
@ApiModel(value = "UserCollectContent对象", description = "用户收藏店铺内容中间表")
public class UserCollectContent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("店铺id")
    @TableField("store_id")
    private Long storeId;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("内容id")
    @TableField("content_id")
    private Long contentId;

    @ApiModelProperty("是否可购买，0表示不能购买，1表示可以购买")
    @TableField("is_purchase")
    private Boolean isPurchase;

    @ApiModelProperty("是否启用，1表示启用，0表示禁用")
    @TableField("enabled")
    private Boolean enabled;

    @ApiModelProperty("数据创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("数据最后修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
